package com.saicyc.demo.utils;

import lombok.Data;

@Data
public class DomainModel {

    public static String domainStr ="<package>;\n" +
            "\n" +
            "import javax.persistence.*;\n" +
            "import java.text.SimpleDateFormat;\n" +
            "import java.util.Arrays;\n" +
            "import java.util.Date;\n" +
            "import com.saicyc.demo.utils.*;\n" +
            "import lombok.Data;\n" +
            "\n" +
            "\n" +
            "@Data\n" +
            "@Entity\n" +
            "@Table(name = \"<tableName>\")\n" +
            "public class <tableDomain>{\n" +
            "\n" +
            "    public static final String TABLE_NAME = \"<tableName>\";\n" +
            "    public static final String ALL_FIELD = \"<col>\";\n" +
            "\n" +
            "    <cols>\n" +
            "\n" +
            "    public <tableDomain>(){}\n" +
            "}";

}
